function ret=APPRX(mat)
 v=getMainVector(mat);
 instruction=sprintf("java -jar  ApproximationClient.jar %12.16f %12.16f %12.16f > result.mat",v(1),v(2),v(3));
 system(instruction);
 ret=load("result.mat");
 ret=ret.result1;
 ret.mat=u_rot(ret.coordinates);
endfunction
